import { ReactNode } from "react";

interface PageContainerProps {
  children: ReactNode;
  className?: string;
  centered?: boolean;
}

export function PageContainer({
  children,
  className = "",
  centered = false
}: PageContainerProps) {
  return (
    <div className={`p-4 ${centered ? "flex items-center justify-center" : ""} ${className}`}>
      {children}
    </div>
  );
} 